package com.lb.activity.po;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Id;

/**
 * @author liubin
 */
@ApiModel(value = "采购申请")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class PurchaseApply implements Serializable {
    private static final long serialVersionUID = 3473383592226757963L;
    /**
     * id
     */
    @Id
    @ApiModelProperty(value = "id")
    private Long id;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    /**
     * 申请人
     */
    @ApiModelProperty(value = "申请人")
    private String proposer;

    /**
     * 申请人用户
     */
    @ApiModelProperty(value = "申请人用户")
    private Long proposerId;

    /**
     * 申请人部门
     */
    @ApiModelProperty(value = "申请人部门")
    private String deptName;

    /**
     * 申请人部门Id
     */
    @ApiModelProperty(value = "申请人部门ID")
    private String deptId;

    /**
     * 当前步骤
     */
    @ApiModelProperty(value = "当前步骤")
    private String currentStep;

    /**
     * 流程实例id
     */
    @ApiModelProperty(value = "流程实例id")
    private String processInstanceId;

    /**
     * 总金额
     */
    @ApiModelProperty(value = "总金额")
    private BigDecimal totalMoney;

}
